package com.jt.mapper;

import com.jt.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserAnnoMapper {


    @Select("select * from demo_user")
    public List<User> findAll();

    @Insert("insert into demo_user values(#{id},#{name},#{age},#{sex})")
    public int save(User user);

    
}
